package com.mzj.saas.mservice.wallet.entity;

import com.mzj.saas.mservice.sys.entity.IdEntity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.util.Date;

/*
 *账单支付缓冲期金额明细表
 */
@Entity
@Table(name = "saas_wallet_buffer")
public class WalletBuffer extends IdEntity {

    /**
     * 钱包id
     */
    @Column(name = "wallet_id", nullable = true)
    private Long walletId;

    /**
     * 支付订单编号
     */
    @Column(name = "order_number", nullable = true)
    private String orderNumber;

    /**
     * 企业收款总金额
     */
    @Column(name = "total_amount", nullable = true)
    private Integer totalAmount;

    /**
     * 支付时间
     */
    @Column(name = "pay_time", nullable = true)
    private Date payTime;

    /**
     * 状态:0缓冲期 1已结束
     */
    @Column(name = "status", nullable = true)
    private Integer status;

    /**
     * 提现缓冲期结束时间
     */
    @Column(name = "bufferEndTime", nullable = true)
    private Date bufferEndTime;

    public Long getWalletId() {
        return walletId;
    }

    public void setWalletId(Long walletId) {
        this.walletId = walletId;
    }

    public String getOrderNumber() {
        return orderNumber;
    }

    public void setOrderNumber(String orderNumber) {
        this.orderNumber = orderNumber;
    }

    public Integer getTotalAmount() {
        return totalAmount;
    }

    public void setTotalAmount(Integer totalAmount) {
        this.totalAmount = totalAmount;
    }

    public Date getPayTime() {
        return payTime;
    }

    public void setPayTime(Date payTime) {
        this.payTime = payTime;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Date getBufferEndTime() {
        return bufferEndTime;
    }

    public void setBufferEndTime(Date bufferEndTime) {
        this.bufferEndTime = bufferEndTime;
    }
}
